<template>
  <el-form label-width="80px" label-position="left" :rules="rules" :model="user">
    <slot></slot>
  </el-form>
</template>

<script>
export default {
  name: "public-form-body",
  props: ['rules', 'user']
}
</script>

<style scoped>
.el-form-item {
  margin-bottom: 20px !important;
}

#button {
  display: flex;
  justify-content: center;
  margin: 40px auto 0;
}

#to-another-form.el-link {
  display: block;
  margin-top: 0;
}
</style>
